<?php
$uid=$_POST['uid'];
$sql="SELECT content FROM article WHERE uid=$uid";
$data=mysqli_query($mysql,$sql);
$arr=mysqli_fetch_assoc($data);
mysqli_free_result($data);
$str = implode($arr);
$GLOBALS['php']=$str;
echo $str;
echo '1111';
echo json_encode($arr);
